package com.java.main;

import com.java.thread.ThreadRunnable;

public class mainThread {

  /**
   * @param args
   */
  public static void main (String[] args) {

    ThreadRunnable t1 = new ThreadRunnable ();
    Thread t = new Thread (t1);
    Thread t2 = new Thread (t1);
    t.start ();
    t2.start ();

    for (int i = 0; i < 100; i++) {
      System.out.println (String.format ("main thread for %s time", i));
    }

  }
}
